package cn.go.buster.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import cn.go.buster.ThreadMode;

/**
 * @author logcat
 * @date 2020/07/17
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface GoBus {
    String tag();

    ThreadMode threadMode() default ThreadMode.MAIN;

    boolean sticky() default false;
}
